package com.way.designpatterncodepratice.factory.base;

/**
 * @author liangliwei 80551025
 * @description
 * @date 2020-06-22
 */
public abstract class Pizza {
    public String name;
    public String address;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }


    public void prepare(){
        System.out.println(name+" is preparing...");
    }

    public void bake(){
        System.out.println(name+" is baking...");
    }

    public void cut(){
        System.out.println(name+" is cutting...");
    }

    public void box(){
        System.out.println(name+" is boxing...");
    }
}
